Register Allo ation for Common Subexpressions in DSP Data
نویسنده
چکیده
Rainer Leupers University of Dortmund Dept. of Computer S ien e 12 D-44221 Dortmund, Germany Rainer.Leupers s.uni-dortmund.de Abstra t| This paper presents a new ode optimization te hnique for DSPs with irregular data path stru tures. We onsider the problem of generating ma hine ode for data ow graphs with ommon subexpressions (CSEs). While in previous work CSEs are supposed to be stri tly stored in memory, the te hnique proposed in this paper also permits the allo ation of spe ial purpose registers for temporarily storing CSEs. As a result, both the ode size and the number of memory a esses are redu ed. The optimization is ontrolled by a simulated annealing algorithm. We demonstrate its e e tiveness for several DSP appli ations and a widespread DSP pro essor. 1 I. Introdu tion More and more embedded systems with DSP fun tionality are based on programmable DSP pro essors. While a pro essor based design style bene ts from high exibility and opportunities for reuse, software development for DSPs still su ers from the fa t, that there is no adequate tool support by C ompilers. Sin e DSPs are tuned for ompute-intensive appli ations, they often show an irregular data path stru ture with di erent fun tional units and spe ial-purpose registers. An example is given in g. 1. The Texas Instruments TMS320C25 is a widespread DSP, whose data path omprises a multiplier, an ALU, three spe ial-purpose registers TR, PR, and ACCU, and a data memory (MEM). Su h domain-spe i ar hite tures pose problems for C ompilers, sin e spe ial onstraints on ode sele tion and register allo ation have to be taken into a ount during ode generation. In ontrast to regular RISC-like data path stru tures, arguments for operations exe uted on fun tional units have to reside in parti ular registers, and extra instru tions may be required for moving values between those registers. In order to illustrate this, onsider the subset of available 'C25 ma hine instru tions in g. 2. Multiplier and ALU results have to be stored in registers PR and ACCU, respe tively, and one multiplier argument has to reside in register TR. Additionally, memory a ess is quite restri ted. For instan e, PR annot be dire tly 1Publi ation: ASP-DAC 2000, Yokohama/Japan, 2000 IEEE TR
منابع مشابه
Array Reference Allocation Using SSA-Form and Live Range Growth
ABSTRACT Embedded systems exe uting spe ialized programs are playing an in reasing role in omputing. This trend has inreased the demand for pro essors that an guarantee highperforman e under stringent ost, power and ode size onstraints. Indire t addressing is by far the most used addressing mode in programs running on these systems, sin e it enables the design of small and faster instru tions. ...
متن کاملAdaptive Task and Resource Allocation in Multi-Agent Systems
ABSTRACT In this paper, we present an adaptive organizational poli y for multi-agent systems alled tra e. tra e allows a olle tion of multi-agent organizations to dynami ally allo ate tasks and resour es between themselves in order to eÆ iently pro ess an in oming stream of task requests. tra e is intended to ope with environments in whi h tasks have time onstraints, and environments that are s...
متن کاملMinimization of Data Address Computation Overhead in DSP Programs BERNHARD
Modern digital signal processors DSPs provide dedicated address generation units AGUs which support data memory access by indirect addressing with automatic address modi cation in parallel to other machine operations There is no address computation overhead if the next address is within the auto modify range Typically optimization of data memory layout and address register assignment allows to ...
متن کاملA New Scalable DSP Architecture for Mobile Communication Applications
Digital Signal Processors (DSPs) are employed in all elds of mobile communication applications, e.g. in speech, audio, modem, video, or graphic processing. Due to diierent processing requirements, today, for each application diierent DSPs have to be employed. Thus, in contrary to existing DSP solutions, our work is targeted towards designing expandable and customizable DSP architectures. To ach...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2000